<?php if (!defined('THINK_PATH')) exit();?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>订单管理</title>
<script src="/jsLibrary/jquery/jquery.js"></script>
</head>
<body>
<link href="/guanli/Inc/Css.css" rel="stylesheet" type="text/css" />
<table width="100%" border="1" cellspacing="0" cellpadding="0">
  <tr bgcolor="#E0E0D3">
    <td width="8%" height="37">订单号</td>
    <td width="10%">产品名称</td> 
    <td width="4%">姓名</td>
     <td width="6%">下单时间</td> 
     <td width="7%">生效日</td>
      <td width="8%">定金通知</td>
       <td width="9%">定金支付结果/方式</td>
        <td width="13%">定金支付时间</td>
         <td width="10%">余款支付金额/方式</td>
          <td width="13%">余款支付时间</td>
          <td width="12%">操作</td>
  </tr>
 <?php if(is_array($rs)): $i = 0; $__LIST__ = $rs;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$order): $mod = ($i % 2 );++$i;?><tr>
    <td width="8%" height="37"><a href="orderform<?php echo (C("URL_PATHINFO_DEPR")); ?>editorder<?php echo (C("URL_PATHINFO_DEPR")); ?>id<?php echo (C("URL_PATHINFO_DEPR")); echo ($order["orderform0"]); ?>"><?php echo ($order["orderform3"]); ?></a></td>
    <td width="10%">&nbsp;<?php echo ($order["orderform4"]); ?></td> 
    <td width="4%">&nbsp;<?php echo ($order["orderform5"]); ?></td>
     <td width="6%">&nbsp;<?php echo (date("Y-m-d H:i:s",$order["orderform6"])); ?></td> 
     <td width="7%">&nbsp;<?php echo (date("Y-m-d",$order["orderform9"])); ?></td>
      <td width="8%">&nbsp;<?php echo ($order["orderform17"]); ?></td>
       <td width="9%">&nbsp;
       <?php if($order["pay6"] == 1): echo ($order["pay3"]); ?>/<?php endif; echo ($order["pay5"]); ?>
   
       </td>
        <td width="13%">&nbsp;<?php echo (date("Y-m-d H:i:s",$order["pay4"])); ?></td>
         <td width="10%">&nbsp <?php if($order["pay10"] == 1): echo ($order["pay7"]); endif; ?>/<?php echo ($order["pay9"]); ?>   </td>
          <td width="13%">&nbsp;<?php echo (date("Y-m-d",$order["pay8"])); ?></td>
          <td width="12%">&nbsp;<a href="#">删除</a></td>
  </tr><?php endforeach; endif; else: echo "" ;endif; ?>
</table>
<div><?php echo ($show); ?></div>
</body>
</html>